package logistics.model;

import java.time.LocalDate;
import java.util.List;

public class Shipment {
    private String shipmentId;
    private String orderId;
    private String trackingNumber;
    private Carrier carrier;
    private String shippingAddress;
    private List<OrderItem> items;
    private Status status;
    private LocalDate shipDate;
    private LocalDate deliveryDate;
    private String recipient;
    
    public enum Status {
        PREPARING,    // 准备中
        PICKED_UP,    // 已取件
        IN_TRANSIT,   // 运输中
        DELIVERED,    // 已送达
        RETURNED      // 已退回
    }
    
    // 构造函数、getter和setter
}